package com.datangnet.parking.user.dao.po;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.hibernate.annotations.GenericGenerator;

import com.datangnet.parking.basecommon.dao.Constants;

/**
 * 
 * 
 * create time: 2016-03-25 14:59:42
 */
@Entity
@Table(name = "weixin")
public class WeixinPO implements java.io.Serializable{

	/** serialVersionUID. */
	@Transient
	private static final long serialVersionUID = 1L;


	@Id
	@GenericGenerator(name = "id", strategy = "org.hibernate.id.UUIDGenerator")
	@GeneratedValue(generator = "id")
	private java.lang.String id = null;

	/**  */
	@Column(name="openid")
	private java.lang.String openid = null;

	/**  */
	@Column(name="nickname")
	private java.lang.String nickname = null;

	/**  */
	@Column(name="status")
	private java.lang.Integer status = Constants.status_normal;

	/**  */
	@Column(name="create_time")
	private java.util.Date createTime = new java.util.Date();

	/**  */
	@Column(name="edit_time")
	private java.util.Date editTime = null;


	/**
	 * constructor
	 */
	public WeixinPO() {
		
	}

	/**
	 *
	 */
	public void setId(java.lang.String id) {
		this.id = id;
	}

	/**
	 *
	 */
	public java.lang.String getId() {
		return this.id;
	}
	/**
	 *
	 */
	public void setOpenid(java.lang.String openid) {
		this.openid = openid;
	}

	/**
	 *
	 */
	public java.lang.String getOpenid() {
		return this.openid;
	}
	/**
	 *
	 */
	public void setNickname(java.lang.String nickname) {
		this.nickname = nickname;
	}

	/**
	 *
	 */
	public java.lang.String getNickname() {
		return this.nickname;
	}
	/**
	 *
	 */
	public void setStatus(java.lang.Integer status) {
		this.status = status;
	}

	/**
	 *
	 */
	public java.lang.Integer getStatus() {
		return this.status;
	}
	/**
	 *
	 */
	public void setCreateTime(java.util.Date createTime) {
		this.createTime = createTime;
	}

	/**
	 *
	 */
	public java.util.Date getCreateTime() {
		return this.createTime;
	}
	/**
	 *
	 */
	public void setEditTime(java.util.Date editTime) {
		this.editTime = editTime;
	}

	/**
	 *
	 */
	public java.util.Date getEditTime() {
		return this.editTime;
	}


}
